package com.testmanager.testmananger.shuiyou.szjk.domain;

import com.testmanager.testmananger.foundation.domain.AbstractAuditingEntity;
import lombok.Data;
import lombok.experimental.Accessors;

import javax.persistence.*;
import javax.validation.constraints.NotNull;
import java.io.Serializable;


@Data
@Accessors(chain = true)
@Table(name = "sy_zip")
@Entity
public class ZipEntity extends AbstractAuditingEntity implements Serializable {

    private static final long serialVersionUID = 4164654011994959680L;

    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    private long id;
    @Column
    @NotNull
    private String name;


    @Column
    private long type;


}
